-
Notifications
You must be signed in to change notification settings - Fork 42
Merge stable v1.0.x into main #1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fix initialize description in memory pool ops
add ctl_stats to remaining providers
[CMake] Update deprecated msg for hwloc option
We cache only 'vcpkg/packages' dir as it's all that's needed. The speed up is from ~10 mins of deps downloading and building to a few seconds. Binaries, though, may be incompatible between different machines and Windows, so cache per w'flow and machine. Co-authored-by: Rafał Rudnicki <[email protected]>
[CI] Add vcpkg caching in Win workflows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR merges the stable v1.0.x branch into main, updating UMF to version 1.0.0. The changes include adding memory statistics tracking functionality to all memory providers, improving CI workflow efficiency with vcpkg caching, and updating version-related documentation.
- Implements ctl_stats functionality across all memory providers for allocation tracking
- Adds comprehensive test coverage for statistics tracking in all provider types
- Optimizes CI workflows by implementing vcpkg package caching on Windows
- Updates version references from v1.0.0-rc2 to v1.0.0 and deprecation notices
Reviewed Changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/providers/provider_level_zero.cpp | Adds ctl_stats test for Level Zero provider |
| test/providers/provider_cuda.cpp | Adds ctl_stats test for CUDA provider |
| test/provider_os_memory.cpp | Adds ctl_stats test for OS memory provider |
| test/provider_fixed_memory.cpp | Adds ctl_stats test for fixed memory provider |
| test/provider_file_memory.cpp | Adds ctl_stats test for file memory provider |
| test/provider_devdax_memory.cpp | Adds ctl_stats test for devdax memory provider |
| src/provider/provider_level_zero.c | Implements statistics tracking with helper functions |
| src/provider/provider_file_memory.c | Adds ctl support and statistics tracking |
| src/provider/provider_devdax_memory.c | Adds ctl support and statistics tracking |
| src/provider/provider_cuda.c | Adds ctl support and statistics tracking |
| include/umf/memory_pool_ops.h | Updates documentation comment |
| ChangeLog | Updates version from 1.0.0-rc2 to 1.0.0 |
| CMakeLists.txt | Updates deprecation notice version |
| .github/workflows/*.yml | Adds vcpkg caching support for Windows builds |
Comments suppressed due to low confidence (4)
src/provider/provider_level_zero.c:379
- [nitpick] The function name 'ze_memory_provider_alloc_helper' could be more descriptive. Consider renaming to 'ze_memory_provider_alloc_with_stats' or 'ze_memory_provider_alloc_internal' to better convey its purpose.
static umf_result_t ze_memory_provider_alloc_helper(void *provider, size_t size,
src/provider/provider_level_zero.c:459
- [nitpick] The function name 'ze_memory_provider_free_helper' could be more descriptive. Consider renaming to 'ze_memory_provider_free_with_stats' or 'ze_memory_provider_free_internal' to better convey its purpose.
static umf_result_t ze_memory_provider_free_helper(void *provider, void *ptr,
src/provider/provider_level_zero.c:381
- The parameter 'update_stats' uses int type for a boolean flag. Consider using bool type instead for better code clarity.
int update_stats,
src/provider/provider_level_zero.c:461
- The parameter 'update_stats' uses int type for a boolean flag. Consider using bool type instead for better code clarity.
int update_stats) {
No description provided.